using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace QuanLyThietBi.Entity
{
                

     public class TBL_PhongBanEntity:AF_ORM.CORE.BaseEntity
    {
         public TBL_PhongBanEntity()
         {
             tableName = "TBL_PhongBan";


			 fieldInfos.Add(new FieldInfo("TBL_PhongBan","MaBoPhan","MaBoPhan","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_PhongBan","MaPB","MaPB","string",10,true,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_PhongBan","MotaPB","MotaPB","string",200,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_PhongBan","TenPB","TenPB","string",200,false,true,true,false,"","",""));
         }
       //properties
                    
		 protected string m_MaBoPhan;
		 protected string m_MaPB;
		 protected string m_MotaPB;
		 protected string m_TenPB;

		 public string MaBoPhan

          { 
                get { 
                    return m_MaBoPhan;}

                set{m_MaBoPhan=value;

                    GetField("MaBoPhan").Set();
                    GetField("MaBoPhan").IsNull=(value == null);           
                    }
          }
		 public string MaPB

          { 
                get { 
                    return m_MaPB;}

                set{m_MaPB=value;

                    GetField("MaPB").Set();
                    GetField("MaPB").IsNull=(value == null);           
                    }
          }
		 public string MotaPB

          { 
                get { 
                    return m_MotaPB;}

                set{m_MotaPB=value;

                    GetField("MotaPB").Set();
                    GetField("MotaPB").IsNull=(value == null);           
                    }
          }
		 public string TenPB

          { 
                get { 
                    return m_TenPB;}

                set{m_TenPB=value;

                    GetField("TenPB").Set();
                    GetField("TenPB").IsNull=(value == null);           
                    }
          }

}
}
